import { IsNotEmpty, IsNumberString, IsString } from "class-validator"

export class getJobDto {

    @IsNotEmpty()
    @IsNumberString()
    readonly pageNo: number | string

    @IsNotEmpty()
    @IsNumberString()
    readonly pageSize: number | string

    readonly type?: string

}

export class deleteJobDto {

    @IsNotEmpty()
    @IsString()
    readonly id: string
}

